package com.insight.modules.umpPwdManage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 登录密码配置
 * @Author: jeecg-boot
 * @Date: 2021-08-10
 * @Version: V1.0
 */
@Data
@TableName("sys_pwd_manage")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "sys_pwd_manage对象", description = "登录密码配置")
public class UmpPwdManage implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 超时时长
     */
    @Excel(name = "超时时长", width = 15)
    @ApiModelProperty(value = "超时时长")
    private String overTime;
    /**
     * 密码最小位数
     */
    @Excel(name = "密码最小位数", width = 15)
    @ApiModelProperty(value = "密码最小位数")
    private String pwdMin;
    /**
     * 失误次数
     */
    @Excel(name = "失误次数", width = 15)
    @ApiModelProperty(value = "失误次数")
    private String errorNum;
    /**
     * 自动解锁时间
     */
    @Excel(name = "自动解锁时间", width = 15)
    @ApiModelProperty(value = "自动解锁时间")
    private String unLock;
    /**
     * 是否大写 1：是
     */
    @Excel(name = "是否大写 1：是", width = 15)
    @ApiModelProperty(value = "是否大写 1：是")
    private Integer capitalize;
    /**
     * 是否小写 1：是
     */
    @Excel(name = "是否小写 1：是", width = 15)
    @ApiModelProperty(value = "是否小写 1：是")
    private Integer lowercase;
    /**
     * 是否带数字 1：是
     */
    @Excel(name = "是否带数字 1：是", width = 15)
    @ApiModelProperty(value = "是否带数字 1：是")
    private Integer hasNum;
    /**
     * 是否有特殊字符 ：1：是
     */
    @Excel(name = "是否有特殊字符 ：1：是", width = 15)
    @ApiModelProperty(value = "是否有特殊字符 ：1：是")
    private Integer special;

    private String commonly;

    private String serious;


    private Integer updateTimes;

    private String startTime, stopTime;

    private String startIp, stopIp;

    private String mac;

    /**
     * 导出加密密码
     */
    private String zipPwd;
    /**
     * 是否加密
     */
    private Boolean isEncry;


    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String oldPwd;
}
